package com.ssy.lingxi.platform.manage.model.request.appdownloadlink;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * APP链接设置 - 请求实体类
 * @author fhj
 * @date 2021/04/07
 * @version 2.0.0
 */
@Data
public class AppDownloadLinkRequest {

    @NotNull(message = "ID不能为空")
    @ApiModelProperty(value = "ID")
    private Long id;

    @NotBlank(message = "链接不能为空")
    @ApiModelProperty(value = "链接")
    private String link;

    @NotNull(message = "状态不能为空")
    @ApiModelProperty(value = "状态：0.无效；1.有效；")
    private Integer status;
}
